<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>新增病人</title>
		<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
		<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
		<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	</head>

	<body>
	<div class="page-header" style="margin-bottom:0;color:#158bb8">
		<h1>武汉方舱医院病人管理系统</h1>
	</div>

	<nav class="navbar navbar-inverse">
		<div class="container-fluid">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="<c:url value="/index.html"/>">JavaEE</a>
			</div>
			<div class="collapse navbar-collapse" id="myNavbar">
				<ul class="nav navbar-nav">
					<li>
						<a href="<c:url value="/index.html"/>">主页</a>
					</li>
					<li>
						<a href="<c:url value="/patientlist.html"/>">列表</a>
					</li>
					<li class="active">
						<a href="#">新增病人</a>
					</li>
					<li>
						<a href="<c:url value="/selectPatient.html"/>">查询修改病人</a>
					</li>
					<li>
						<a href="<c:url value="/wardList.html"/>">病房一览</a>
					</li>
				</ul>
			</div>
		</div>
	</nav>
	<h2>病人信息:</h2>
		<form class="form-horizontal" role="form" method="post" action="<c:url value="/selectWard.html"/> ">
				<div class="form-group">
					<label for="pno" class="col-sm-2 control-label">Pno</label>
					<div class="col-sm-7">
						<input type="text" class="form-control" id="pno" name="pno" placeholder="请输入pno">
					</div>
				</div>
				<div class="form-group">
					<label for="name" class="col-sm-2 control-label">Name</label>
					<div class="col-sm-7">
						<input type="text" class="form-control" id="name" name="name" placeholder="请输入Name">
					</div>
				</div>
				<div class="form-group">
					<label for="sex" class="col-sm-2 control-label">Sex</label>
					<div class="col-sm-7">
						<input type="text" class="form-control" id="sex" name="sex" placeholder="请输入sex">
					</div>
				</div>
			<div class="form-group">
				<label for="age" class="col-sm-2 control-label">Age</label>
				<div class="col-sm-7">
					<input type="text" class="form-control" id="age" name="age" placeholder="请输入age">
				</div>
			</div>
			<div class="form-group">
				<label for="status" class="col-sm-2 control-label">Status</label>
				<div class="col-sm-7">
				<select typeof="text"  class="form-control" id="status" name="status" >
					<option value="重症">重症</option>
					<option value="轻症">轻症</option>
				</select>
				</div>
			</div>
			<div class="form-group">
				<label for="familyPhone" class="col-sm-2 control-label">FamilyPhone</label>
				<div class="col-sm-7">
					<input type="text" class="form-control" id="familyPhone" name="familyPhone" placeholder="请输入familyPhone">
				</div>
			</div>
			<br /><br />
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-default">选择病房</button>
					<button type="submit" class="btn btn-default" formaction="<c:url value="/insert.html"/>">快速添加</button>
			</div>
		</div>
		</form>

	</body>

</html>